.profile-container {
    max-width: 1000px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    text-align: center;
    margin-top: 20px;
}

.user-info h2 {
    margin-bottom: 10px;
    color: #333;
}

.user-info p {
    color: #777;
}

.details-section {
    margin-top: 30px;
}

.details-section h3 {
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    margin-bottom: 10px;
}

/* 新增样式：固定在顶部的导航栏 */
.navbar {
    background-color: white;
    color: #0b5ed7;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.navbar a {
    color: black;
    text-decoration: none;
    margin: 0 15px;
}

.navbar a:hover {
    text-decoration: underline;
}

.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 100% 视口高度，可根据需要调整 */
}

.edit-container {
    width: 450px;
    height: 500px;
    background-color: rgba(204, 204, 204, 0.92);; /* 容器背景颜色 */
    margin: auto;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    padding: 30px;
    position: absolute;
    left: 750px;
    top: 160px;

}
.movie-search-container {
    width: 450px;
    height: 600px;
    background-color: rgba(204, 204, 204, 0.92);; /* 容器背景颜色 */
    margin: auto;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    padding: 30px;
    position: absolute;
    left: 750px;
    top: 160px;

}
.friend-manage-container {
    width: 20%;
    height: 50%;
    background-color: rgba(204, 204, 204);; /* 容器背景颜色 */
    margin: auto;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    padding: 30px;
    position: absolute;
    left: 78%;
    top: 15%;

}

.btn-edit {
    width: 300px; /* 设置宽度，根据需要调整 */
    height: 50px; /* 设置高度，根据需要调整 */
    position: relative;
    left: auto;
}

.btn-friend-manage {
    width: 100px; /* 设置宽度，根据需要调整 */
    height: 50px; /* 设置高度，根据需要调整 */
    position: relative;
    left: auto;
    top: auto;
    background-color: #6c757d;
    margin: 15px;
}


.centered-div {
    background-color: transparent;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-right-container {
    display: flex;
    justify-content: space-between; /* 也可以使用 space-around 或 space-evenly */
}

.right-div, .left-div {
    background-color: transparent;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
}

.post-font {
    font-family: fangsong;
    font-size: 30px;
}

.pop-window {
    width: 10%;
    height: 20%;
    position: absolute;
    left: 250px;
    top: 100px;
    background-color: white;
    margin: auto;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */


}